package cn.kgc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
* 描述：实体类
* @author 
* @date 2018/03/05
*/
public class Payorder implements Serializable {

   /**id*/
    private Integer id;
   /**订单id*/
    private Integer orderid;
   /**订单名称*/
    private String ordertitle;
   /**订单编号*/
    private String serialnumber;
   /**支付人账号*/
    private String payaccount;
   /**支付金额*/
    private Double cost;
   /**支付时间*/
   @JsonFormat(pattern = "yyyy-MM-dd")
    private Date paytime;
   /**支付状态*/
    private String status;

    public Payorder(){}
    
    public Payorder(Integer id,Integer orderid,String ordertitle,String serialnumber,String payaccount,Double cost,Date paytime,String status){
        this.id = id;
        this.orderid = orderid;
        this.ordertitle = ordertitle;
        this.serialnumber = serialnumber;
        this.payaccount = payaccount;
        this.cost = cost;
        this.paytime = paytime;
        this.status = status;
    }

   /**获取id属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置id属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取订单id属性的值*/
    public Integer getOrderid() {
        return this.orderid;
    }
   /**设置订单id属性的值*/
    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }
   /**获取订单名称属性的值*/
    public String getOrdertitle() {
        return this.ordertitle;
    }
   /**设置订单名称属性的值*/
    public void setOrdertitle(String ordertitle) {
        this.ordertitle = ordertitle;
    }
   /**获取订单编号属性的值*/
    public String getSerialnumber() {
        return this.serialnumber;
    }
   /**设置订单编号属性的值*/
    public void setSerialnumber(String serialnumber) {
        this.serialnumber = serialnumber;
    }
   /**获取支付人账号属性的值*/
    public String getPayaccount() {
        return this.payaccount;
    }
   /**设置支付人账号属性的值*/
    public void setPayaccount(String payaccount) {
        this.payaccount = payaccount;
    }
   /**获取支付金额属性的值*/
    public Double getCost() {
        return this.cost;
    }
   /**设置支付金额属性的值*/
    public void setCost(Double cost) {
        this.cost = cost;
    }
   /**获取支付时间属性的值*/
    public Date getPaytime() {
        return this.paytime;
    }
   /**设置支付时间属性的值*/
    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }
   /**获取支付状态属性的值*/
    public String getStatus() {
        return this.status;
    }
   /**设置支付状态属性的值*/
    public void setStatus(String status) {
        this.status = status;
    }
}
